
html{overflow-x:hidden}
div,h1,h2,h3,h4,h5,ul,li,p,q,blockquote,dl,dd,dt,input,form,span,body,button,select,option{margin:0;padding:0}
body{font-size:12px;line-height:1.8em;font-family:Microsoft YaHei}
img{border:0}
li{list-style:none}
a:link,a:visited{text-decoration:none}
a{color:#000000}
input,textarea{outline:none}
input.text{border-color:#CDCDCD #D9D9D9 #E8E8E8 #A4A4A4;border-style:solid;border-width:1px;color:#666666}
@media screen and (-webkit-min-device-pixel-ratio:0){input.text{line-height:1em!important}
}input.submit,input.reset,button.submit{border:1px solid #ccc}
a:hover{color:#0e588c}
h1{font-size:14px}
h2{font-size:14px}
h3{font-size:12px}
h4{font-size:12px}
h5{font-size:12px}
h6{font-size:12px}
h1,h2,h3,h4,h5,h6,ul,ol,dl,li,p{*display:block}
table{border-collapse:collapse}
q:before,blockquote:before,q:after,blockquote:after{content:""}
.clearfix:after,.cx:after{content:".";display:block;height:0;clear:both;visibility:hidden}
.clearfix,.cx{*zoom:1}
.both_clear{clear:both}
.fl{float:left!important;*display:inline}
.fr{float:right!important;*display:inline}
.haslayout{*zoom:1}
.relative{position:relative!important}
.absolute{position:absolute!important}
.no_bg{background:none!important}
.no_border{border:none!important}
.no_margin{margin:0!important}
.no_margin_r{margin-right:0!important}
.bold{font-weight:bold!important}
.fz_14{font-size:14px}
.fz_12{font-size:12px}
.fz_0{font-size:0}
.t_a_c{text-align:center}
.t_a_l{text-align:left}
.t_a_r{text-align:right}
.d_n{display:none}
.d_b{display:block}
header{
    width: 100%;
    height: 50px;
    line-height: 50px;
    background: lightseagreen;
    color: #ffffff;
    position: static;
    top: 0px;
    left: 0px;
    right: 0px;
    display: flex;
    display:-webkit-flex;
}
header h1{
    font-size: 18px;
    flex-grow: 1;
    text-align: center;
}

.container{
    position: static;
    margin: 5px;
    display: flex;
    margin-bottom: 55px;
    display: -webkit-flex;
    padding: 0 5px;

}
.container .item-list{
    display: none;
    width: 100%;
}
.container .active{
    width: 100%;
    min-height: 450px;
    display: block;
}

.container .item-list .item{
    width: 100%;
    height: 70px;
    clear: both;
    display: flex;
    border-bottom: 1px solid #eeeeee;
    cursor: pointer;
}
.container .item-list .item .item-photo{
    width: 60px;
    height: 60px;
    margin-right: 5px;
    padding: 10px;
    flex:1;
}
.container .item-list .item .item-text{
    flex:3;
    position: relative;
}
.container .item-list .item .item-text .item-title{
    font-size: 16px;
    margin: 8px 0px;
}
.container .item-list .item .item-text .item-desc{
    color: #949191;
}
.container .item-list .item .item-text .item-time{
    position: absolute;
    top: 10px;
    right: 10px;
    color: #949191;
}
.container .item-list .item .item-text .item-em{
    height: 20px;
    line-height: 20px;
    padding: 0 8px;
    text-align: center;
    border-radius: 100px;
    position: absolute;
    right: 10px;
    top: 35px;
    color: #ffffff;
    font-weight: bold;
    font-family: "微软雅黑";
    background: red;
}



/**
聊天信息
 */
#message{
    width: 100%;
    max-height: 460px;
    overflow: scroll;
}

.message-item-l{
    padding: 0 5px;
    display: flex;
    display: -webkit-flex;
    margin-bottom: 5px;
}
.message-item-l .message-item-photo{
    flex: 0.6;
    padding: 10px 5px 10px 10px;
}
.message-item-l .message-item-text{
    flex: 2.5;
}
.message-item-l .last{
    flex: 0.8;
}
.message-item-l .message-item-text .message-user-name{
    margin: 5px 0px;
    color: #CB222A;
    font-weight: bold;
    letter-spacing: 1px;
}
.message-item-l .message-item-text .message-user-info{
    flex-wrap: wrap;
    background: #7b7817;
    border-radius: 5px;
    padding: 5px 6px;
    color: #ffffff;
}


.message-item-r{
    padding: 0 5px;
    display: flex;
    display: -webkit-flex;
    margin-bottom: 5px;
}
.message-item-r .message-item-photo{
    flex: 0.6;
    padding: 10px 5px 10px 10px;
}
.message-item-r .message-item-text{
    flex: 2.5;
}
.message-item-r .last{
    flex: 0.8;
}
.message-item-r .message-item-text .message-user-name{
    margin: 5px 0px;
    text-align: right;
    color: #CB222A;
    font-weight: bold;
    letter-spacing: 1px;
}
.message-item-r .message-item-text .message-user-info{
    flex-wrap: wrap;
    background: lightseagreen;
    border-radius: 5px;
    padding: 5px 6px;
    color: #ffffff;
    text-align: right;
}


.footer{
    width: 100%;
    height: 60px;
    position: fixed;
    left: 0px;
    right: 0px;
    bottom: 0px;
    display: flex;
    display: -webkit-flex;
}

.footer .pull-text{
    flex: 1.6;
}
.footer .pull-text textarea{
    width: 100%;
    height: 58px;
    padding: 3px;
    font-size: 18px;
    border: none;
    border-top: 1px solid #eeeeee;

}

.footer .pull-btn{
    flex: 0.5;
}
.footer .pull-btn .btn-success{
    width: 100%;
    height: 60px;
    line-height: 60px;
    background: lightseagreen;
    display: block;
    text-align: center;
    text-indent: -3px;
    color: #ffffff;
    font-weight: bold;
    font-size: 20px;
}

footer{
    width: 100%;
    height: 50px;
    line-height: 50px;
    background: lightseagreen;
    color: #ffffff;
    display: flex;
    display:-webkit-flex;
    position: fixed;
    bottom: 0px;
    left: 0px;
    right: 0px;
}
footer a{
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    flex-direction:row;
    flex-grow: 1;
    text-align: center;
}
footer a:link,footer a:visited{
    color: #ffffff;
}
